package com.github.cosycode.web.base.constant.postcode;

import com.github.cosycode.web.base.post.IPostCode;

/**
 * <b>Description : </b>
 *
 * @author CPF
 * @date 2019/4/10 11:19
 **/
@SuppressWarnings({"AlibabaEnumConstantsMustHaveComment", "java:S115"})
public enum ERpcPostCode implements IPostCode {

    rpcKeyIdErr("5678", "远程调用标记错误"),
    rpcInnerErr("5679", "远程调用服务器内部发生错误");

    ERpcPostCode(String code, String text, String desc) {
        putBean(code, text, desc);
    }

    ERpcPostCode(String code, String text) {
        putBean(code, text, text);
    }

    @Override
    public String toString() {
        return toJsonString();
    }

}